﻿<%@ Page Language="VB" MasterPageFile="~/Public/MasterPage.master" EnableEventValidation="false" ValidateRequest="false" AutoEventWireup="false" CodeFile="QueryData.aspx.vb" Inherits="Public_QueryData" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<%--<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="conditional">
    <ContentTemplate>    --%>
        <table>
            <tr>
                <td align="center">
                    <asp:TextBox ID="txtSQL" runat="server" Height="150px" TextMode="MultiLine" Width="500px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Button ID="btnQuery" CssClass="button" runat="server" Text="查詢" />   
                    <asp:Button ID="btnSubmit" CssClass="button" runat="server" Text="執行" />      
                    <asp:Button ID="Button1" CssClass="button2" runat="server" Text="執行SQL檔" />              
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Panel ID="Panel1" Width="500" Height="100%" ScrollBars="Auto" runat="server">
                       <My:MyGridView ID="gv" PageSize="20" AutoGenerateColumns="true" HeaderStyle-HorizontalAlign="Center" runat="server" SkinID="pager" AllowHoverSelect="false"
                        AllowHoverEffect="false" EmptyDataText="No Data!!" EmptyDataRowStyle-HorizontalAlign="Center" MySortDirection="Ascending" meta:resourcekey="gv">
                        </My:MyGridView>
                    </asp:Panel>
                </td>
            </tr>
        </table>
<%--    </ContentTemplate>
</asp:UpdatePanel>--%>
</asp:Content>

